]> dgit.raspbian.org Git - gnome-shell.git/commit
PlacesManager: fix .gtk-bookmarks monitor scope
authorStefan 'psYchotic' Zwanenburg <stefanhetzwaantje@gmail.com>
Sun, 16 Oct 2011 16:30:13 +0000 (18:30 +0200)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 18 Oct 2011 18:03:36 +0000 (14:03 -0400)
commit36eb745eccef50533995624ea4dd8df8c4673296
tree879abd668ea8e48970e61066f8cf849e1a644d95
parentb07e45e214625cb2e14d98710afe449a70a21f09
PlacesManager: fix .gtk-bookmarks monitor scope

The GFileMonitor on ~/.gtk-bookmarks was block-scoped in the
PlacesManager._init() function, which caused it to be destroyed as soon
as the constructor was done. This caused changes in bookmarks to never
be notified to possible watchers (such as the places-menu extension).
To fix this, the 'monitor' variable has been promoted to an object
instance member.

https://bugzilla.gnome.org/show_bug.cgi?id=661921
js/ui/placeDisplay.js